/**
 * @author Daniel Kaufmann
 *
 * 20.04.2011
 * MealLine.java
 */

package at.fhv.easyDietWeb.shared.db.diet;

import at.fhv.easyDietWeb.shared.db.bls.Food;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * information: represents the table MealLine on the database
 */
public class MealLine implements IsSerializable
{

	private int _mealLineId;
	private Meal _meal;
	private String _notes;
	private Integer _mealLineIdPar;
	private double _portion;
	private Food _food;

	private void setMealLineId(int mealLineId)
	{
		_mealLineId = mealLineId;
	}

	public int getMealLineId()
	{
		return _mealLineId;
	}

	public void setMeal(Meal meal)
	{
		_meal = meal;
	}

	public Meal getMeal()
	{
		return _meal;
	}

	public void setNotes(String notes)
	{
		_notes = notes;
	}

	public String getNotes()
	{
		return _notes;
	}

	public void setMealLineIdPar(Integer mealLineIdPar)
	{
		_mealLineIdPar = mealLineIdPar;
	}

	public Integer getMealLineIdPar()
	{
		return _mealLineIdPar;
	}

	public void setPortion(double portion)
	{
		_portion = portion;
	}

	public double getPortion()
	{
		return _portion;
	}

	public void setFood(Food food)
	{
		_food = food;
	}

	public Food getFood()
	{
		return _food;
	}
}